package com.rainbowred.api.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Desc:
 * @Date: 2023/10/31 17:55
 * @Author: pengweibiao
 **/
@Controller
@RequestMapping("/test")
public class RedController {

    @RequestMapping("/index")
    public String index(){
        return "view/api/index";
    }

    @RequestMapping("/url")
    public String url(){
        return "view/api/url";
    }

    @RequestMapping("/signature")
    public String signature(){
        return "view/api/signature";
    }

    @RequestMapping("/encode")
    public String encode(){
        return "view/api/encode";
    }

    @RequestMapping("/decode")
    public String decode(){
        return "view/api/decode";
    }

    public String formTest(){
        return "redirect:  ";
    }

}
